package com.chenhao.springcloud.chenhaodesignservice.pattern.creational.simplefactory;

/**
 * Description:
 *
 * @author chenhao
 * @date 2020/12/9 16:11
 */
public class Test {
    public static void main(String[] args) {
        VideoFactory videoFactory = new VideoFactory();
        Video video = videoFactory.getVideo(JavaVideo.class);
        video.produce();
    }
}
